﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorldEvolution
{
    public class IComponent
    {
        public bool Enable{get;set;}
        public Entity Owner { get { return mOwner; } }

        public void Initalize(Entity owner )
        {
            mOwner = owner;
            OnInit();
        }

        protected virtual void OnInit(){}

        private Entity mOwner;



    }
}
